<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>hexo-leve2d-demo</title>
	</head>
	<body>
		<script type="text/javascript" charset="utf-8" src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.0.min.js"></script>
		<script type="text/javascript" charset="utf-8" src="https://files.cnblogs.com/files/liuzhou1/L2Dwidget.min.js"></script>

		<script type="text/javascript">
			L2Dwidget.init({
				"model": {
					// 插件模型的地址
					// 查询模型jsonPath配置文件 https://unpkg.com/live2d-widget-model-XXX@1.0.5/
					// https://unpkg.com/live2d-widget-model-XXX@1.0.5/assets/XXX.model.json
					// shizuku 
					"jsonPath": "https://unpkg.com/live2d-widget-model-shizuku@1.0.5/assets/shizuku.model.json",
					"scale": 1
				},
				"display": {
					"superSample": 2,
					"width": 200, //宽度
					"height": 400, //高度
					"position": "right", //位置，right,left
					"hOffset": 0,
					"vOffset": 0
				},
				"mobile": {
					"show": true,
					"scale": 0.5
				},
				"react": {
					// 针对于交互效果的样式
					"opacityDefault": 0.7,
					"opacityOnHover": 0.2
				}
			});
		</script>
	</body>
</html>
